﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Benefit.Models.Sys;

namespace Benefit.Interface.Sys
{
    public interface IExchange
    {

        /// <summary>
        /// 获取所有交易所
        /// </summary>
        /// <returns></returns>
        List<Exchange> GetList();
        /// <summary>
        /// 存储一个交易所
        /// </summary>
        /// <param name="exchangeId"></param>
        /// <param name="exchangeName"></param>
        /// <returns></returns>
        int InsertIntoBenefitFromServer(string exchangeId, string exchangeName);
    }
}